package com.shop.cereshop.commons.domain.im.tx.resp.user;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class ImUserBaseResp {

    /**
     * ActionStatus
     * 请求处理的结果
     * OK 表示处理成功
     * FAIL 表示失败
     */
    private String actionStatus;

    /**
     * ErrorCode
     * 错误码
     * 0表示成功
     * 非0表示失败
     */
    private Integer errorCode;

    /**
     * ErrorInfo
     * 错误信息
     */
    private String errorInfo;
    /**
     * FailAccounts
     * Array
     * 导入失败的账号列表
     */
    private List<String> FailAccounts;

    /**
     * 单个账号的检查结果对象数组
     */
    private List<UserCheckStatusResp> ResultItem;

    @Override
    public String toString() {
        return "ImUserBaseResp{" +
                "actionStatus='" + actionStatus + '\'' +
                ", errorCode=" + errorCode +
                ", errorInfo='" + errorInfo + '\'' +
                ", failAccounts=" + FailAccounts + '\'' +
                ", ResultItem=" + ResultItem +
                '}';
    }

}
